package org.com.coolfish.common.database.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "kuyu_agent_account")
@Entity
public class KuyuAgentAccount extends IdEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private Integer uid;
	private Integer aid;
	private BigDecimal ago_amount;
	private Integer type;
	private BigDecimal amount;
	private Date addtime;
	private Integer status;
	private String remarks;
	public KuyuAgentAccount() {
		super();
	}
	
	
	public KuyuAgentAccount(BigDecimal ago_amount) {
		super();
		this.ago_amount = ago_amount;
	}


	public KuyuAgentAccount(Integer uid, Integer aid, BigDecimal ago_amount, Integer type, BigDecimal amount,
			Date addtime, Integer status, String remarks) {
		super();
		this.uid = uid;
		this.aid = aid;
		this.ago_amount = ago_amount;
		this.type = type;
		this.amount = amount;
		this.addtime = addtime;
		this.status = status;
		this.remarks = remarks;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getAid() {
		return aid;
	}
	public void setAid(Integer aid) {
		this.aid = aid;
	}
	public BigDecimal getAgo_amount() {
		return ago_amount;
	}
	public void setAgo_amount(BigDecimal ago_amount) {
		this.ago_amount = ago_amount;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Override
	public String toString() {
		return "KuyuAgentAccount [uid=" + uid + ", aid=" + aid + ", ago_amount=" + ago_amount + ", type=" + type
				+ ", amount=" + amount + ", addtime=" + addtime + ", status=" + status + ", remarks=" + remarks + "]";
	}

}
